package com.job.ming.Zuoye0707.Anli0707;

/**
 * @author  Yangmingyu
 * @version 1.0
 * @since 2022-07-08 15:56:16
 */
public class Testyuan {
    public static void main(String[] args) {
        Yuangong emp=new Yuangong();
        emp.setName("杰森");
        emp.setAge(20);
        emp.show("经理");


        emp.setAge(16);
        emp.show("经理");

        Yuangong emp2=new Yuangong();
        emp2.setName("jack");
        emp2.setAge(28);
        emp2.show("秘书");
    }
}